


        
import service,{get,post} from '@/utils/request'
const servletMap=[
    ['/web/product/category','category','post'],
    ['/web/product/detail','detail','post'],
    ['/web/product/teacherList','teacherList','post'],
	['/web/product/audition','audition','post'],
    // 加入购物车
    ['/web/uc/skuShopCart/add','add','post'],
]
let obj={}
for(let i in servletMap){
    obj[servletMap[i][1]]=function(){
        return service[servletMap[i][2]](servletMap[i][0],...arguments)
    }
}

export default obj;